<div class="pageHeader">
<style type="text/css">
  .suibian:last-child{
    border-bottom: none !important;
  }
</style>
<form id="pagerForm" action="__URL__" method="post">


        <input type="hidden" name="orderField" value="{$_REQUEST.orderField}">
        <input type="hidden" name="orderDirection" value="{$_REQUEST.orderDirection}">
        <input type="hidden" name="pageNum" value="{$_REQUEST['pageNum']|default=1}"/>
	    <input type="hidden" name="numPerPage" value="{$numPerPage}"/>

    </form>


  
</div>
<div class="pageContent">
    <table class="j-table" width="100%" layoutH="95">
        <thead>
            <tr>
                <th width="40">ID</th>
                <th>用户</th>
                <th>目的码</th>
                <!-- <th>短信内容</th> -->
                <th width="200">操作</th>
            </tr>
        </thead>
        <tbody>
           <volist id="vo" name="list">
            <tr>
              <td>{$vo.id}</td>
              <td>{$vo.nickname}</td>
      				<td>
                <volist name="vo['code']" id="va">
                  <div class="suibian" style="border-bottom: 1px solid #ccc;overflow: hidden;padding: 6px;"><span style="float: left;">{$va.content}</span>-<span>{$va.codeNo}</span>
                    <!-- <if condition="session('userid') eq 1">
                      <div style="float: right;"><a href="__URL__/edit/id/{$va['id']}/navTabId/{:CONTROLLER_NAME}" rel="articleedit{$va.id}"  class="btn btn-green btn-sm" target="navtab" title="编辑{$va.title}" >编辑</a>
                      <a href="__URL__/foreverdelete/id/{$va['id']}/navTabId/{:CONTROLLER_NAME}" class="btn btn-red btn-sm" target="ajaxTodo" title="确定要删除该行信息吗？">删</a></div>
                    </if> -->
                  </div>
                </volist>
              </td>
      				<!-- <td>{$vo.content}</td> -->
      				<td>
                <if condition="session('userid') eq 1">
                <a href="__URL__/edit/id/{$vo['id']}/navTabId/{:CONTROLLER_NAME}" rel="articleedit{$vo.id}"  class="btn btn-green btn-sm" target="navtab" title="编辑{$vo.title}" >编辑</a>
                <if condition="$vo['user_id'] neq 1">
                <a href="__URL__/foreverdelete/id/{$vo['id']}/navTabId/{:CONTROLLER_NAME}" class="btn btn-red btn-sm" target="ajaxTodo" title="确定要删除该行信息吗？">删</a>
                </if>
                </if>
              </td>
            </tr>
            
          </volist>
        </tbody>
    </table>
<div class="panelBar">
        <div class="pages">
            <span>每页&nbsp;</span>
            <span class="sel">
                <select class="selectpicker show-tick dropup" data-style="btn-default btn-sel xs" data-width="auto" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
                  <option value="5" <eq name="numPerPage" value="5">selected=selected</eq>>5</option>
          				<option value="10" <eq name="numPerPage" value="10">selected=selected</eq>>10</option>
          				<option value="15" <eq name="numPerPage" value="15">selected=selected</eq>>15</option>
          				<option value="20" <eq name="numPerPage" value="20">selected=selected</eq>>20</option>
                </select>
            </span>
            <span>&nbsp;条，共 {$totalCount} 条</span>
        </div>
        <div class="pagination-box" targettype="navTab" totalCount="{$totalCount}" numPerPage="{$numPerPage}" pageNumShown="10" currentPage="{$currentPage}">
        </div>
    </div>
</div>

